import Layout from '@/layout'

export default {
  path: '/subjectManager',
  component: Layout,
  name: 'subjectManager',
  meta: { title: '学科管理', icon: 'el-icon-setting' },

  children: [{
    // 默认的子路由
    path: 'subject',
    name: 'subject',
    component: () =>
      import ('@/views/subjectManager/subject'),
    // meta:控制左侧菜单
    meta: { title: '学科', icon: 'el-icon-user' }
  }, {
    // 默认的子路由
    path: 'catalogue',
    name: 'catalogue',
    component: () =>
      import ('@/views/subjectManager/catalogue'),
    // meta:控制左侧菜单
    meta: { title: '目录', icon: 'el-icon-menu' }
  }, {
    // 默认的子路由
    path: 'label',
    name: 'label',
    component: () =>
      import ('@/views/subjectManager/label'),
    // meta:控制左侧菜单
    meta: { title: '标签', icon: 'el-icon-menu' }
  }

  ] }
